# Copyright 2025 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

module(name = "quiche")

# Last updated 2025-09-09
bazel_dep(name = "bazel_skylib", version = "1.8.1")

# Last updated 2025-09-09
bazel_dep(name = "rules_cc", version = "0.2.4")

# Last updated 2025-09-09
bazel_dep(name = "abseil-cpp", version = "20250814.0", repo_name = "com_google_absl")

# Last updated 2025-05-29
bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf")

# Last updated 2025-05-01
bazel_dep(name = "boringssl", version = "0.20250415.0")

# Last updated 2025-02-25
bazel_dep(name = "googletest", version = "1.16.0", repo_name = "com_google_googletest")

# Last updated 2025-02-25
bazel_dep(name = "re2", version = "2024-07-02.bcr.1")

# Last updated 2025-02-25
bazel_dep(name = "zlib", version = "1.3.1.bcr.5")

# Last updated 2025-09-09
bazel_dep(name = "fuzztest", version = "20250805.0")

# Prevent fuzztest from pulling in a version of riegeli with compilation errors
# (riegeli version "0.0.0-20240606-973b6f0").
bazel_dep(name = "riegeli", version = "0.0.0-20241218-3385e3c")

http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_google_quic_trace",
    sha256 = "3d521fa326ebe2ad8fb5963d66ed7b17af75d55b9dd402fc8a1729de5fe63fc4",  # Last updated 2025-10-27
    strip_prefix = "quic-trace-c33abf42245ee56745addc9f1e06f914c48c9ca4",
    urls = ["https://github.com/google/quic-trace/archive/c33abf42245ee56745addc9f1e06f914c48c9ca4.tar.gz"],
)

http_archive(
    name = "com_google_googleurl",
    sha256 = "515ed1c5ab441af62bb6d3bda46463c588c5dd79f4449e275caa12d473fdd6c8",  # Last updated 2023-07-06
    urls = ["https://storage.googleapis.com/quiche-envoy-integration/googleurl-94ff147fe0b96b4cca5d6d316b9af6210c0b8051.tar.gz"],
)
